package com.lucweb.dao;




import com.lucweb.entity.TaskBuy;
import com.lucweb.entity.TaskMaterial;

import java.util.List;

public interface BuyDao {

    //获取单个检测任务
    List<TaskBuy> buyList(String para);

    void saveOrUpdate(TaskBuy taskBuy);

    TaskBuy getbuyById(int taskId);

    void deletebuy(int taskId);

    List<TaskBuy> showBuy();

    List<TaskMaterial> showMaterial(int taskId);

    void materialsaveOrUpdate(TaskMaterial taskMaterial);

    TaskMaterial getmaterialById(int materialId);

    void deletematerial(int materialId);

    int getmaxId();
}
